from fastapi import FastAPI





def configure_routers(app: FastAPI):
    from forward.api.controller.card import card
    app.include_router(card, prefix="/api/yts")


def create_app():
    app = FastAPI()
    # 配置路由
    configure_routers(app)
    return app
